← Back to issue list

snapcraft mishandles .PNG extension

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1843147
Type
issue
State
open
Author
~merlijn-sebrechts
Labels
Created
2019-09-07 21:40:05.481364+00:00
Updated
2020-08-26 18:24:11.721651+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

According to https://snapcraft.io/docs/snap-format, the correct extensions for an icon are `.png` and `.svg`. However, if you use the .PNG extension (all caps), snapcraft still treats it as if it's a valid extension and copies it to /meta/gui/icon.PNG. If you then change the icon, to an svg file for example, and re-run snapcraft, it will not remove the `icon.PNG` file, instead /meta/gui/icon.svg and /meta/gui/icon.PNG will now both exist.

Evaluation history

No evaluation history available.